package com.dyh.quickdemo;

import org.junit.jupiter.api.Test;

/*
@Author=Joey Wheeler
@Date=2021/5/24 15:57
*/
public class TestIf {

    @Test
    public void test1122(){

    }

    @Test
    public void test11(){
        String ii = "[FAIRJ_OMSSYNC_SYNC_ORDER_0_ITEMEXECUTE_DETAIL][INFO][TaobaoOrderSyncExecutor][] - 内贸OMS应用 获取店铺订单同步任务结束OMSSYNC_SYNC_ORDER 2021-05-25 13:26:06 - 2021-05-25 13:26:11 耗时 ";

        System.out.println(ii.length());
    }

    @Test
    public void test(){
        int i = 2;
        if (i>0)
            System.out.println(1);
        else if (i>1)
            System.out.println(2);
    }
}
